﻿/*----------------------------------------------------------------
 * 
 * 版权所有：Copyright (C) 2013
 * 
 * 文件名：ProductInfo.cs
 * 文件功能描述：
 * 
 * 
 * 作 者：zhangq
 * 邮 箱：ifunnyface@outlook.com
 * 日 期：2013-02-04 09:22:38
 * 
 * 
 * 修改标识： Author
 * 修改描述： 相关描述
 * 
 * ---------------------------------------------------------------- */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DomainModel
{

    /// <summary>
    /// 
    /// </summary>
    public class ProductInfo
    {

        /// <summary>
        /// 
        /// </summary>
        public ProductInfo()
        {
            // TODO:
        }


        /// <summary>
        /// 主键
        /// </summary>
        public int Id { get; set; }


        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }


        /// <summary>
        /// 厂家(产地)
        /// </summary>
        public string Manufacturers { get; set; }


        /// <summary>
        /// 牌号
        /// </summary>
        public string Model { get; set; }


        /// <summary>
        /// 用途
        /// </summary>
        public string Purpose { get; set; }


        /// <summary>
        /// 价格
        /// </summary>
        public float Price { get; set; }


        /// <summary>
        /// 价格单位
        /// </summary>
        public string PriceUnit { get; set; }


        /// <summary>
        /// 产品说明
        /// </summary>
        public string Description { get; set; }


        /// <summary>
        /// 产品图片路径
        /// </summary>
        public string Image { get; set; }

        /// <summary>
        /// 是否审核 0 = 未审核、1 = 已审核
        /// </summary>
        public int IsChecked { get; set; }


        /// <summary>
        /// 公司Id
        /// </summary>
        public int CompanyId { get; set; }


        /// <summary>
        /// 关键字
        /// </summary>
        public string KeyWords { get; set; }


        /// <summary>
        /// 公司
        /// </summary>
        public virtual CompanyInfo Company { get; set; }


        /// <summary>
        /// 类别Id
        /// </summary>
        public string PartitionId { get; set; }


        /// <summary>
        /// 添加用户Id
        /// </summary>
        public int AddUserID { get; set; }


        /// <summary>
        /// 添加用户名
        /// </summary>
        public string AddUserName { get; set; }


        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddDate { get; set; }


        /// <summary>
        /// 最终修改时间
        /// </summary>
        public DateTime LastModifiled { get; set; }

        /// <summary>
        /// 类别Id
        /// </summary>
        public virtual ProductPartitionInfo Partition { get; set; }

    }

}